﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XinLife.Core.Model;
using XinLife.Model.Model;

namespace XinLife.Application.Interface
{
    public interface IOAuthService
    {
        Task<QQAuth> QQLogin(string code);

        Task<bool> UpdateUserId(string id, string userId);
        Task<QQAuth> GetQQAuth(string openId);
        Task<AjaxResult> EditQQAuthAsync(QQAuth qqAuth);
    }
}
